package com.example.sea.core.data.user.mapper;

import com.example.sea.core.data.user.entity.AuthPermission;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 描述：
 *
 * @author zengyz
 * @date 2018/7/9 上午 11:54
 */
@Repository
public interface AuthPermissionMapper {

    int deleteByPrimaryKey(String id);

    int insert(AuthPermission record);

    int insertSelective(AuthPermission record);

    AuthPermission selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(AuthPermission record);

    int updateByPrimaryKey(AuthPermission record);

    List<AuthPermission> selectListByParamsMap(Map params);
}